package cn.kgc.tangcco.configurer;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/12/26 13:59
 */
@Configuration
@ConfigurationProperties()
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Key {
    /**
     * aes密钥
     */
    @Value("${key.aes}")
    private String aes;
    /**
     * des密钥
     */
    @Value("${key.des}")
    private String des;
}
